/*
 * @Author: 肖思汗 
 * @Date: 2025-09-04 16:55:59 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-09-04 23:32:14
 */
import { makeAutoObservable } from "mobx";

class BlurWarnStore {
    constructor() {
        makeAutoObservable(this, {}, { deep: false });
    }

    //模糊警告
    showBlurWarn = false;
    setShowBlurWarn(show: boolean) {
        this.showBlurWarn = show;
    }
    show() {
        if (this.showBlurWarn) {
            return;
        }
        this.showBlurWarn = true;
        setTimeout(() => {
            this.showBlurWarn = false;
        }, 1500);
    }

}

const blurWarnStore = new BlurWarnStore();

export default blurWarnStore;